﻿@model BlogWeb.Models.ChangePwdView

@{
    ViewBag.Title = "Chgpwd";
    Layout = "~/Views/Shared/_LayoutMain.cshtml";
}

@Styles.Render("~/Content/admin/css/maininfo")


@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <!--main_top-->
    <table width="99%" border="0" cellspacing="0" cellpadding="0" id="searchmain">
        <tr>
            <td width="99%" align="left" valign="top">您的位置：用户管理&nbsp;&nbsp;>&nbsp;&nbsp;修改密码</td>
        </tr>
        <tr>
            <td align="left" valign="top">
                <form method="post" action="">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="main-tab">
                        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
                            <td align="right" valign="middle" class="borderright borderbottom bggray">用户名：</td>
                            <td align="left" valign="middle" class="borderright borderbottom main-for">
                                @Session["Admin"].ToString()
                            </td>
                        </tr>
                        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
                            <td align="right" valign="middle" class="borderright borderbottom bggray">原始密码：</td>
                            <td align="left" valign="middle" class="borderright borderbottom main-for">
                                @Html.PasswordFor(model => model.OldPwd, new { @class = "text-word" } )
                                @Html.ValidationMessageFor(model => model.OldPwd, "", new { @class = "text-danger" })
                            </td>
                        </tr>
                        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
                            <td align="right" valign="middle" class="borderright borderbottom bggray">新密码：</td>
                            <td align="left" valign="middle" class="borderright borderbottom main-for">
                                @Html.PasswordFor(model => model.NewPwd, new { @class = "text-word" } )
                                @Html.ValidationMessageFor(model => model.NewPwd, "", new { @class = "text-danger" })
                            </td>
                        </tr>
                        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
                            <td align="right" valign="middle" class="borderright borderbottom bggray">确认密码：</td>
                            <td align="left" valign="middle" class="borderright borderbottom main-for">
                                @Html.PasswordFor(model => model.ChkPwd, new { @class = "text-word" } )
                                @Html.ValidationMessageFor(model => model.ChkPwd, "", new { @class = "text-danger" })
                            </td>
                        </tr>
                        
                        <tr onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#edf5ff'">
                            <td align="right" valign="middle" class="borderright borderbottom bggray">&nbsp;</td>
                            <td align="left" valign="middle" class="borderright borderbottom main-for">
                                <input name="" type="submit" value="提交" class="text-but">
                                <input name="" type="reset" value="重置" class="text-but">
                                @Html.ValidationSummary(true, "", new { @class = "text-danger" })
                            </td>
                        </tr>
                    </table>
                </form>
            </td>
        </tr>
    </table>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
